package cn.picclife.mwx.manager.sys.service.impl;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.picclife.mwx.manager.sys.mapper.UniqueTableMapper;
import cn.picclife.mwx.manager.sys.model.po.UniqueTable;
import cn.picclife.mwx.manager.sys.service.UniqueTableService;


@Service(value="uniqueTableService")
public class UniqueTableServiceImpl implements UniqueTableService {
	private final static Logger logger = LoggerFactory.getLogger(UniqueTableServiceImpl.class);

	@Autowired
	UniqueTableMapper uniqueTableMapper;
	
	@Override
	public int insertSelective(UniqueTable record) {
		return uniqueTableMapper.insertSelective(record);
	}

	@Override
	public UniqueTable selectBySeqName(UniqueTable record) {
		return uniqueTableMapper.selectBySeqName(record);
	}

	@Override
	public UniqueTable selectBySeqNameAndTable(UniqueTable record) {
		return uniqueTableMapper.selectBySeqNameAndTable(record);
	}

	@Override
	public int updateUnique(UniqueTable record) {
		return uniqueTableMapper.updateUnique(record);
	}
	

}
